{extend name="ly_common/index_menu" /}

{block name="main_content"}
<div id="heading-breadcrumbs">
    <div class="container">
        <div class="row d-flex align-items-center flex-wrap">
            <div class="col-md-7">
                <h1 class="h2">合作案例</h1>
            </div>
            <div class="col-md-5">
                <ul class="breadcrumb d-flex justify-content-end">
                    <li class="breadcrumb-item"><a href="/">主页</a></li>
                    <li class="breadcrumb-item active">合作案例</li>
                </ul>
            </div>
        </div>
    </div>
</div>
<div id="content">
    <div class="container" id="pagination">
        <section class="bar">
            <div class="row">
                <div class="col-md-12">
                    <div class="heading">
                        <h2>合作案例</h2>
                    </div>
                    <?php echo !empty($block4['content']['desc'])?htmlspecialchars_decode($block4['content']['desc']):"";?>
                </div>
            </div>
            <div class="row portfolio text-center" id="paginate">
                {notempty name="$aryCasesAll"}
                {foreach $aryCasesAll as $k=>$v}
                <div class="col-md-4">
                    <div class="box-image">
                        <div class="image">
                            <img src="{$v.thumb ?: ''}" alt="{$v.title ?: ''}" class="img-fluid">
                            <div class="overlay d-flex align-items-center justify-content-center">
                                <div class="content">
                                    <div class="name">
                                        <h3>
                                            <?php $intId = $v['id'];?>
                                            <a href="{:url("/casedetails/$intId")}" class="color-white">
                                            {$v.title ?: ''}
                                            </a>
                                        </h3>
                                    </div>
                                    <div class="text">
                                        <p class="d-none d-sm-block">
                                            {:mb_substr($v.content,0,20,'utf-8')}
                                        </p>
                                        <p class="buttons">
                                            <a href="{:url("/casedetails/$intId")}" class="btn btn-template-outlined-white">
                                                查看详情
                                            </a>
                                            <!--<a href="#" class="btn btn-template-outlined-white">Website</a>-->
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                {/foreach}
                {/notempty}


            </div>
            <ul class="pager d-flex align-items-center justify-content-between list-unstyled">
                <span style="margin: 0 auto;" class="pagination">
                    <a href="javascript:;" id="jq_loadMore" onclick="loacAjaxInfo(this)" _url="<?php echo $strPages;?>"> 查看更多</a>
                </span>
                <!--<li class="previous"><a href="#" class="btn btn-template-outlined"></a></li>-->
                <!--<li class="next disabled"><a href="#" class="btn btn-template-outlined"></a></li>-->
            </ul>
        </section>
    </div>

    <section class="bar bg-gray">
        <div class="container">
            <div class="heading text-center">
                <h2>合作企业</h2>
            </div>
            <ul class="list-unstyled owl-carousel customers no-mb">
                {notempty name="block8['content']['lists']"}
                <?php $aryData = $block8['content']['lists'];?>
                {foreach $aryData as $v}
                <li class="item">
                    <a href="javascript:;">
                        <img src="{$v.thumb ?: ''}" style="cursor: pointer;" title="{$v.title ?: ''}" alt="{$v.title ?: ''}" class="img-fluid">
                    </a>
                </li>
                {/foreach}
                {/notempty}
            </ul>
        </div>
    </section>
</div>

{/block}


